package com.example.vehicleservice.imp;



import com.example.vehicleservice.bean.*;
import com.example.vehicleservice.mapper.NewCarMapper;
import com.example.vehicleservice.service.NewCarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;



@Service
public class NewCarServiceImpl implements NewCarService {


    @Autowired
    private NewCarMapper newCarMapper;


    @Override
    public List<CarRealtime> getCarRealtime() {
        return newCarMapper.getCarRealtime();
    }

    @Override
    public List<carTry> getCarTry() {
        return newCarMapper.getCarTry();
    }

    @Override
    public List<VehicleCount> getVehicleCount() {
        return newCarMapper.getVehicleCount();
    }

    @Override
    public List<VehicleDwsBatteryHealth> getVehicleDwsBatteryHealth() {
        return newCarMapper.getVehicleDwsBatteryHealth();
    }

    @Override
    public List<VehicleGeohashVinCount> getVehicleGeohashVinCount() {
        return newCarMapper.getVehicleGeohashVinCount();
    }

    @Override
    public List<VehicleStatus> getVehicleStatus() {
        return newCarMapper.getVehicleStatus();
    }
}
